//-------------------------------------------------------------------------
// Copyright (c) 2000-2010 Ufinity. All Rights Reserved.
//
// This software is the confidential and proprietary information of
// Ufinity
//
// Original author: Administrator
//
//-------------------------------------------------------------------------
// UFINITY MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF
// THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
// TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
// PARTICULAR PURPOSE, OR NON-INFRINGEMENT. UFINITY SHALL NOT BE
// LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING,
// MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
//
// THIS SOFTWARE IS NOT DESIGNED OR INTENDED FOR USE OR RESALE AS ON-LINE
// CONTROL EQUIPMENT IN HAZARDOUS ENVIRONMENTS REQUIRING FAIL-SAFE
// PERFORMANCE, SUCH AS IN THE OPERATION OF NUCLEAR FACILITIES, AIRCRAFT
// NAVIGATION OR COMMUNICATION SYSTEMS, AIR TRAFFIC CONTROL, DIRECT LIFE
// SUPPORT MACHINES, OR WEAPONS SYSTEMS, IN WHICH THE FAILURE OF THE
// SOFTWARE COULD LEAD DIRECTLY TO DEATH, PERSONAL INJURY, OR SEVERE
// PHYSICAL OR ENVIRONMENTAL DAMAGE ("HIGH RISK ACTIVITIES"). UFINITY
// SPECIFICALLY DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY OF FITNESS FOR
// HIGH RISK ACTIVITIES.
//-------------------------------------------------------------------------
package com.password.safe.constants;


public class Constants {
	private Constants() {}
	
	public static String USERNAME = "username";
	public static String PASSWORD = "loginPassword";
	public static String BUTTON_UNDO = "undo	(ctr+z)";
	public static String BUTTON_REDO = "redo	(ctr+y)";
	public static String BUTTON_SAVE = "save	(ctr+s)";
	public static String BUTTON_SELECT = "select	(ctr+a)";
	public static String BUTTON_CLEAR = "clear";
	public static String BUTTON_LOGOUT = "Logout";
	public static String BUTTON_MANAGE = "Manage";
	public static String BUTTON_UPDATE_PASSWORD = "Update Password";
	public static String BUTTON_EXIT = "Exit";
	
	public static int KEY_CODE_ENTER = 10;
	public static int KEY_CODE_CTRL = 83;
	public static int KEY_CODE_S = 17;
	
	public static int PASSWORD_MAX_LENGTH = 7;
	public static int USERNAME_MAX_LENGTH = 6;
	
	public static String ERROR_MSG_PASSWORD_IS_BLANK = "passwordIsBlank";
	public static String ERROR_MSG_PASSWORD_ERROR = "passwordError";
	public static String ERROR_MSG_INVALIDATE_USER = "用户名/密码不匹配";
	public static String ERROR_MSG_BLANK_USERNAME = "用户名不可为空：";
	public static String ERROR_MSG_BLANK_NEW_PASSWORD = "新密码不可为空：";
	public static String ERROR_MSG_PASSWORD_NOT_EQUAL = "新密码不一致：";
	public static String ERROR_MSG_OLD_PASSWORD = "旧密码输入错误：";
	public static String ERROR_MSG_OLD_SAVE_FAILED = "保存失败";
	
	public static String LABEL_USERNAME = "用户名:";
	public static String LABEL_PASSWORD = "密码:";
	public static String LABEL_OLD_PASSWORD = "请输入老密码：";
	public static String LABEL_NEW_PASSWORD = "请输入新密码：";
	public static String LABEL_RE_PASSWORD = "请输入再次新密码：";
	
	public static String BUTTON_CONFIRM = "确定";
	public static String BUTTON_CANCEL = "取消";
	
	public static String MSG_KEY_LOGOUT = "logout";
	public static String BIN = "bin";

}
